package repo

import "go-weixin/app/usercenter/model"

type TableRepo interface {
	TableAdd(name string, url string, method int64, table *model.TablesModel) (int64, error)
	TableExistByUrl(url string) (bool, error)
	TableList(limit int64, offset int64, tableList *[]model.TablesModel) error
	TableExistById(id int64) (bool, error)
	TableUpdate(id int64, name string, url string, method int64) (int64, error)
}
